module.exports = {
    db_config: {
        host: 'localhost',
        user: 'root',
        password: 'mysql',
        database: 'test2'
    },
    wx_config: {
        aotu: {
            token: 'haohj94',
            appid: 'wx9fc2209dc4dcc20c',
            secret: 'b52c4157170b8f1d9fd1ebeb33051762',
            cached: {},
            menu: {
                "button": [{
                    "name": "关于我",
                    "sub_button": [{
                        "type": "view",
                        "name": "博客",
                        "url": "http://www.cnblogs.com/tom-zhu"
                    }, {
                        "type": "view",
                        "name": "JSSDK",
                        "url": "http://hhqqnu163.ngrok.cc/jssdk"
                    }, {
                        "type": "view",
                        "name": "登录",
                        "url": "http://hhqqnu163.ngrok.cc/api/login"
                    }]
                }, {
                    "name": "生活工具",
                    "sub_button": [{
                        "type": "click",
                        "name": "天气",
                        "key": "getlocationweather",
                        "sub_button": []
                    }, {
                        "type": "location_select",
                        "name": "发送位置",
                        "key": "location_select",
                        "sub_button": []
                    }, {
                        "type": "click",
                        "name": "我的信息",
                        "key": "my_info",
                        "sub_button": []
                    }]
                }, {
                    "name": "开发小工具",
                    "sub_button": [{
                        "type": "scancode_push",
                        "name": "扫码推事件",
                        "key": "scancode_push",
                    }, {
                        "type": "scancode_waitmsg",
                        "name": "扫码带提示",
                        "key": "scancode_waitmsg"
                    }, {
                        "type": "pic_sysphoto",
                        "name": "系统拍照发图",
                        "key": "pic_sysphoto",
                        "sub_button": []
                    }, {
                        "type": "pic_photo_or_album",
                        "name": "拍照或者相册发图",
                        "key": "pic_photo_or_album",
                        "sub_button": []
                    }, {
                        "type": "pic_weixin",
                        "name": "微信相册发图",
                        "key": "pic_weixin",
                        "sub_button": []
                    }]
                }]
            }
        },
        tq: {
            "ipURL": "http://whois.pconline.com.cn/ipJson.jsp?json=true",
            "ipToCityNameURL": "http://apis.baidu.com/apistore/iplookupservice/iplookup?ip=",
            "ipToCityNameApiKey": "7328474baf90532437b4becdc5f65706",
            'cityUrl': 'http://apistore.baidu.com/microservice/cityinfo?cityname=',
            'weatherApikey': '7328474baf90532437b4becdc5f65706',
            'weatherUrl': 'http://apis.baidu.com/apistore/weatherservice/recentweathers?cityid='
        }
    },
    web_config: {
        menu: {
            fileManger: {
                name: '素材管理',
                childMenu: [{
                    name: '图片管理',
                    path: '/image'
                }]
            },
            userManger: {
                name: '用户管理',
                childMenu: [{
                    name: '用户分组管理',
                    path: '/usergroup'
                }, {
                    name: '设置用户备注名',
                    path: '/editUserRemarkName'
                }, {
                    name: '用户列表',
                    path: '/userlist'
                }]
            },
            messageManger: {
                name: '消息管理',
                childMenu: [{
                    name: '群发消息',
                    path: ''
                }, {
                    name: '模板消息',
                    path: ''
                }]
            },
            menuManger: {
                name: '菜单管理',
                childMenu: [{
                    name: '微信菜单管理',
                    path: '/wx-menu-list'
                }]
            }
        }
    }
};